<#include "../common/layout.ftl"/>
<@layout>
<div class="well">
			<a class="btn btn-success" href="/userpoint/add"><i class="icon-user icon-white"></i>添加地点</a>
  </div>
<div class="well">

	<table class="table table-bordered table-striped">
		<thead>
		  <tr>
			<th>id</th>
			<th>地点</th>
			<th>操作</th>
		  </tr>
		</thead>
		<tbody>
		<#list page.list as point>
		  <tr>
			<td>
			   ${point.id!""}
			</td>
			<td>
			  ${point.address!""}
			</td>
			<td>
				<div class="btn-group">
					 	<a class="btn btn-primary" href="/userpoint/toEdit/${point.id}"><i class="icon-info-sign icon-white"></i> 修 改</a>
					 	<a class="btn btn-primary" href="/userpoint/delete/${point.id}"><i class="icon-trash icon-white"></i> 删 除</a>
				</div>
			</td>
		  </tr>
		</#list>
		</tbody>
	</table>  
	<#include "../common/paginate.ftl" />
	<@paginate currentPage=page.pageNumber totalPage=page.totalPage actionUrl="/userpoint/index/" />
</div>
          
</@layout>